<table border="0">
     <tr>
     <th>状态</th>
     <th>时间</th>
     </tr>
<?php
foreach($status as $k => $stat){
     $style = ($k%2)?" class='odd'": " class='even'";
     echo "<tr $style><td>".$stat["status"]."</td><td>".$stat["up_time"]."</td></tr>";
}

?>
</table>